/**
 * caicongyang.com Inc.
 * Copyright (c) 2004-2017 All Rights Reserved.
 */
package com.caicongyang.design.builder;

/**
 * @author caicongyang1
 * @version id: ConcreteBuilder, v 0.1 17/5/15 下午8:41 caicongyang1 Exp $$
 */
public class ConcreteBuilder extends Builder {

    private Product product = new Product();

    @Override
    public void buildA() {
        product.add("A");
    }

    @Override
    public void buildB() {
        product.add("B");

    }

    @Override
    public Product getResult() {
        return product;
    }
}
